//
//  LWZZAFN.h
//  LWZZOnTheWay
//
//  Created by 罗钧友 on 16/1/27.
//  Copyright © 2016年 罗钧友. All rights reserved.
//

#import <Foundation/Foundation.h>


typedef void(^BLOCK)(id result);
typedef void(^ERROR)(id error);

@interface LWZZAFN : NSObject

+(instancetype)shareAFN;

-(void)getDataWithUrl:(NSString *)urlStr success:(BLOCK)block error:(ERROR)errorBlock;

@end
